package com.szpx.service;

import com.szpx.entity.Film;
import com.szpx.entity.Order;
import org.springframework.context.annotation.Configuration;
//import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Configuration
public interface OrderService {

    //根据id查询影片的信息
    Order selectOrderById(Integer id);
    //查询所有影片的信息
    List<Order> selectAllOrder();
    //添加影片信息
    int addOrder(Order order);
    //删除影片信息
    int deleOrder(Integer id);
    //修改用户的信息
    int updateOrder(Order order);
    //多条件分页模糊查询
    List<Order> getListByO(Order order);


}

